package com.maoge.controller;

import com.maoge.annotation.Maoge;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by bjmaozhengwei on 2018/7/4.
 */

@Controller
@RequestMapping("/API")
public class TestController {

    @RequestMapping("/test1")
    public String test1() {
        return "test1";
    }

    @Maoge(value = "/ttt")
    @RequestMapping("/mao2")
    public String test2(String ss) {
        return "mmm";
    }


    @Maoge(value = "/txxxx")
    @RequestMapping("/mao3")
    public String test3(String ss) {
        return "hhhh";
    }

}
